package com.bawei.mall.user.mapper;

import com.bawei.mall.user.domain.MallCusOrderInfo;
import com.bawei.mall.user.domain.MallCusProductOrderMiddle;
import com.bawei.mall.user.domain.MallOrderList;
import com.bawei.mall.user.domain.MallProductEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：HaoYunde
 * @Package：com.bawei.mall.user.mapper
 * @Project：mall_cloud
 * @name：MallProductOrderMapper
 * @Date：2024/7/9 11:31
 */
public interface MallProductOrderMapper {
    void generateOrder(MallCusOrderInfo orderInfo);


    void generateOrderMiddle(@Param("orderId") Long orderId, @Param("mallCusProductOrderMiddles") List<MallCusProductOrderMiddle> mallCusProductOrderMiddles);

    List<MallOrderList> list(Integer payStatus);
}
